<!DOCTYPE html>
<html lang="en">

<head>
  <title>o1</title>
</head>

<body>
  <h1>o1</h1>
  <script>
    fetch("http://localhost:1681/a.json", {
      headers: {
        Origin: "http://localhost:1681"
      }
    })
    .then(console.log);
  </script>
</body>

</html>